package com.mjlf.spring_data_access.mybatis;

import com.mjlf.spring_data_access.entity.School;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @auther a123
 * @create 2018-08-23 11:25
 * @desc mybatis数据操作
 */
@Repository
public interface MybatisSchoolDao {

    int save(School school);

    List<School> getAll();

    School getById(int id);
}
